module.exports = {
  value: {
    type: String,
    default: '',
    name: '选中标签名称',
    filedType: 'value',
    dataSource: {
      from: 'list',
      type: 'array',
      labelKey: 'label',
      valueKey: 'value'
    }
  },

  list: {
    type: Object,
    default () {
      return [
        {
          name: '标签1',
          anchor: 'aaa',
          value: '1'
        },
        {
          name: '标签2',
          anchor: 'bbb',
          value: '2'
        }
      ]
    },
    name: 'tab列表',
    filedType: 'api'
  },

  fontSize: {
    type: String,
    default: '14px',
    name: '字体大小',
    filedType: 'string'
  },

  height: {
    type: String,
    default: '30px',
    name: '标签高度',
    filedType: 'string'
  },

  paddingX: {
    type: String,
    default: '10px',
    name: '标签左右内边距',
    filedType: 'string'
  },

  borderRadius: {
    type: String,
    default: '15px',
    name: '左右圆角大小',
    filedType: 'string'
  },

  bgColor: {
    type: String,
    default: '#fff',
    name: '背景颜色',
    filedType: 'color'
  },

  color: {
    type: String,
    default: '#333',
    name: '文本颜色',
    filedType: 'color'
  },

  activeColor: {
    type: String,
    default: '#ffffff',
    name: '选中标签文本颜色',
    filedType: 'color'
  },

  activeBg: {
    type: String,
    default: '#1276ff',
    name: '选中标签背景',
    filedType: 'color'
  },

  borderColor: {
    type: String,
    default: '#1276ff',
    name: '边框色',
    filedType: 'color'
  },

  activeBorderColor: {
    type: String,
    default: '#1276ff',
    name: '选中标签边框颜色',
    filedType: 'color'
  },

  icons: {
    type: Array,
    default () {
      return [
      ]
    },
    name: '图标列表',
    filedType: 'file',
    limit: 100,
    maxSize: 1024
  },

  hoverIcons: {
    type: Array,
    default () {
      return [
      ]
    },
    name: '滑过图标列表',
    filedType: 'file',
    limit: 100,
    maxSize: 1024
  },

  iconHeight: {
    type: String,
    default: '15px',
    name: '图标高度',
    filedType: 'string'
  },

  sticky: {
    type: Boolean,
    default: true,
    name: '启用吸顶',
    filedType: 'switch'
  },

  liftTop: {
    type: String,
    default: '',
    name: '锚点距离',
    nameTip: '滚动到锚点区时，锚点区与窗体顶部的距离，不设置时会自动计算',
    filedType: 'string'
  },
  zIndex: {
    type: String,
    default: '',
    name: 'z-index',
    nameTip: 'fix 不能置顶问题',
    filedType: 'string'
  },
}

// Helvetica Neue,,宋体,Arial,Helvetica,sans-serif
